Repository navigation
设置新增资料库位置迁移入口 - #277
Merged
Merged
设置新增资料库位置迁移入口#277
Conversation
- migrateLibrary(to:):同卷原子移动、跨卷暂存目录逐项搬运+失败回滚、重绑与逐课程清单校验 - 迁移期间写回/3秒对账/课程笔记加载挂起,完成后补排空 - 设置界面:路径显示+更改按钮+确认框(云同步目录黄色提示)+进度/错误/成功状态;目标是合法库时改走认领 - 新增 LibraryMigrationSafetyTests 五项专项验证
…n-setting # Conflicts: # Sources/WeiBei/Stores/WorkspaceStore+LibraryRoot.swift
taekchef
marked this pull request as ready for review
August 21, 2026 20:23
This was referenced Aug 21, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
实际改动
migrateLibrary(to:)(WorkspaceStore+LibraryRoot.swift):前置校验(嵌套/上级/相等/非空/合法库)、同卷原子移动、跨卷暂存目录逐项搬运+失败回滚、重绑+refreshRuntimeItemURLs+逐课程清单校验、完成后补排空挂起写回并持久化[growth-exempt: WorkspaceStore.swift +4 行(迁移挂起标志属性与两处一行守卫),新逻辑全部落在非冻结的 LibraryRoot 扩展与设置 UI]
未做内容
共享核心面占用
验证命令
轻量冒烟
本机无 Xcode 无法起真实 App 包;构建产物级验证通过。真实 App 冒烟留待候选包阶段统一执行。
回退自查表(六条)